package ie.dpsystems.errorlog;

public class ErrorDetailsController {
	private IErrorDetailsView _view;
	
	public ErrorDetailsController(IErrorDetailsView view){
		_view = view;
	}

	public void GetErrorDetails(int errorUniqueId){
		ErrorDetails error = ErrorDetails.GetDefaultErrorById(errorUniqueId);
		_view.SetErrorDetails(error);
	}
}
